package cn.wolfcode.shop.api.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Getter@Setter
public class Catalog extends BaseDomain {
    private Date createDate;
    private Date lastModifiedDate;
    private Integer version;
    private Integer level;
    private String name;
    private String code;
    private Integer sequence;
    private Integer childrenCatalogs;
    private Integer products;
    private Long parentCatalogId;
    private Byte isParent;

    private List<CatalogProperty> properties = new ArrayList<>();
}